###
# kubernetes kubelet (minion) config

# The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces)
KUBELET_ADDRESS="--address={{ ansible_default_ipv4.address }}"

# The port for the info server to serve on
# KUBELET_PORT="--port=10250"

# You may leave this blank to use the actual hostname
KUBELET_HOSTNAME="--hostname-override={{ ansible_default_ipv4.address }}"

# pod infrastructure container
KUBELET_POD_INFRA_CONTAINER="--pod-infra-container-image={{ pod_infra_container_image }}"

# Path to a kubeconfig file, specifying how to connect to the API server.
KUBELET_KUBECONFIG="--kubeconfig=/etc/kubernetes/default.kubeconfig"

# DNS info
#KUBELET__DNS_IP="--cluster-dns=${DNS_SERVER_IP}"
#KUBELET_DNS_DOMAIN="--cluster-domain=${DNS_DOMAIN}"

# Add your own!
KUBELET_ARGS="--cgroup-driver systemd --runtime-cgroups=/systemd/system.slice --kubelet-cgroups=/systemd/system.slice"